package com.liachen.stock.ext;

import com.liachen.stock.entity.Annual;

import java.io.IOException;

/**
 * 巨潮信息网
 *
 * @author chen.liang
 * @date 2020/8/31 17:15
 * @since V1.0
 */
public interface CnInfoService {
    /**
     * 查询报告列表
     * @param searchKey
     * @param category
     * @return
     * @throws IOException
     */
    Annual queryAnnual(String searchKey, String category) throws IOException;

    /**
     * 下载公告
     * @param annual
     * @param pathName 文件夹名称
     */
    void downAnnual(Annual annual);
}
